/**
 * Created by Lwang on 2017-03-30.
 * 控制器入口文件
 */

require("angular");
import uiRouter from "angular-ui-router";
import {mainCtrl} from "./mainCtrl.js";
import {loginCtrl} from "./loginCtrl.js";
import {registerCtrl} from "./registerCtrl.js";
import {productListCtrl} from "./productListCtrl.js";
import {productDetailCtrl} from "./productDetailCtrl.js";
import {listDetailCtrl} from "./listDetailCtrl.js";
import {myFinanceCtrl} from "./myFinanceCtrl.js";
import {myEarnCtrl} from "./myEarnCtrl.js";
import {earnDetailCtrl} from "./earnDetailCtrl.js";
import {servicerCtrl} from "./servicerCtrl.js";
import {projectIntroductCtrl} from "./projectIntroductCtrl.js";
import {tipsCtrl} from "./tipsCtrl.js";
import {mapCtrl} from "./mapCtrl.js";
export default function () {
    var allModule = angular.module("allModule", [uiRouter]);
    allModule.controller("loginCtrl", loginCtrl);
    allModule.controller("mainCtrl", mainCtrl);
    allModule.controller("registerCtrl", registerCtrl);
    allModule.controller("productListCtrl", productListCtrl);
    allModule.controller("productDetailCtrl", productDetailCtrl);
    allModule.controller("listDetailCtrl", listDetailCtrl);
    allModule.controller("myFinanceCtrl", myFinanceCtrl);
    allModule.controller("myEarnCtrl", myEarnCtrl);
    allModule.controller("earnDetailCtrl", earnDetailCtrl);
    allModule.controller("servicerCtrl", servicerCtrl);
    allModule.controller("projectIntroductCtrl", projectIntroductCtrl);
    allModule.controller("tipsCtrl", tipsCtrl);
    allModule.controller("mapCtrl", mapCtrl);
}


